#ifndef D_DRAWLABELELEMENT_H
#define D_DRAWLABELELEMENT_H

#include <wx/gdicmn.h>
#include "D-DrawBaseElement.h"
#include "D-DrawRectangleElement.h"

class wxClientDC;
class wxDC;
class wxPoint;
class wxSize;

class D_DrawLabelElement : public D_DrawRectangleElement{
	public:		
	D_DrawLabelElement(wxPoint* position);
	D_DrawLabelElement();
	virtual ~D_DrawLabelElement();
	virtual unsigned char* ToByteBuffer(int& buffer_length);
	virtual void Render(wxDC* dc, wxPoint* offset);	
	virtual void FromByteBuffer(unsigned char* buffer, int buffer_length);
	virtual D_DrawBaseElement* Clone();
	void SetText(wxString text);
	wxString GetText();
	protected:
	wxString m_text;
	};
#endif